import re
from bs4 import BeautifulSoup
txt = '''
演员:老张 老刘
'''
txt = "老张今年50岁，出生在1989-12-22，电话号码是13323223333"

cxt = re.search(r'\s.*(\d{2})\s.*(\d{4}-\d{2}-d{2})',txt)
print(cxt)
print(cxt.group(),cxt.group(1))